const getters = {
  userId: state => state.user.userId,
  token: state => state.user.token,
  userName: state => state.user.userName,
  permissions: state => state.user.permissions

}
export default getters
